/*
 * LectorDeTexto.h
 *
 *  Created on: 10/11/2013
 *      Author: Miguel
 */

#ifndef LECTORDETEXTO_H_
#define LECTORDETEXTO_H_

#include "../Types.h"
#include "../../console/Impresor.h"
#include <iostream>
#include <fstream>

class HandlerDeTexto {
public:
	HandlerDeTexto();
	virtual ~HandlerDeTexto();

	bool leerPalabra(String& termino, std::ifstream& in);
	bool agregarPalabra(const String termino, std::ofstream& out);
	void leerPalabrasDeString(std::vector<String>& palabras, char* frase);
};


#endif /* LECTORDETEXTO_H_ */
